.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fade-in 0.5s ease-out forwards;
}

.popup-content {
    background-color: #CCE1D9;
    border-radius: 5px;
    margin: 15% auto;
    max-width: 500px;
    padding: 20px;
    position: relative;
    text-align: center;
    transform: scale(0);
    animation: scale-in 0.5s ease-out forwards;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes scale-in {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

.popup-content h2 {
    color: #2C3E50;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.popup-content p {
    color: #2C3E50;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.qq-group,
.contact-us {
    border-radius: 5px;
    color: #ffffff;
    font-size: 1.5em;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    padding: 10px;
}

.qq-group {
    background-color: #51CACE;
}

.contact-us {
    background-color: #F16B6F;
}

.qq-group:hover,
.contact-us:hover {
    transform: scale(1.1);
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}